<?php 

// ** Documentation
/*______________________________________________________________________________

	Bafflegate Configuration File

	Last Update: Aug 2007
	Author: Tom at klenwell@gmail.com

  NOTES
    protect database settings as much as possible -- limit user to minimum
    necessary privileges

______________________________________________________________________________*/

// ** Master Global Array
$CFG = array();


// ** Database Settings (Edit)
$CFG['db_user'] = 'root';
$CFG['db_pass'] = 'root';
$CFG['db_name'] = 'bafflegate';
$CFG['db_srvr'] = 'localhost';



// ** DO NOT EDIT FOLLOWING SETTINGS
// Table
define('TBL_ACCT', 'account');
define('TBL_XC', 'exception');
define('TBL_HIT', 'hit');
define('TBL_SESSION', 'session');

// Exception Constants
define('BAFFLE_XC', 0);
define('BAFFLE_XC_TEST', 1);
define('BAFFLE_XC_UNKNOWN', 2);
define('BAFFLE_XC_TICKETLESS', 4);
define('BAFFLE_XC_INVALIDTIX', 6);
define('BAFFLE_XC_BLACKLIST', 8);

// Cancel Codes
define('BAFFLE_CC', 0);
define('BAFFLE_CC_TEST', 1);
define('BAFFLE_CC_ADMIN', 2);

?>
